"""

user.lst 结构:

{
    "青兰": {
        'city': [["城市1", (7, 14)]],
        'army': [["卷零", "洛斯"], [7, 14]],
        'block': [[7, 13], [7, 15]]
    },
    "龙城": {
        'city': (["城市1", (17, 12)]),
        'army': (("陈时", "洛斯"), (7, 14)),
    }
}
"""

import pickle
import random

file = "./datas/mapper.lst"


class Map:
    with open(file, 'rb') as f:
        handler: dict = pickle.load(f)
    def charMoveTheSite(self, site, chart):
        """
        角色移动到指定位置
        :param site:
        :param chart:
        :return:
        """


    def createCity(self, site, power):
        """
        某势力在某点创建城市
        :param site:
        :param power:
        :return:
        """

    def occupation(self, site, power):
        """
        占领事件
        :param site:
        :param power:
        :return:
        """

